import { createApp } from 'vue'
import App from './App.vue'
import router from '@/router'
import initializeStore from '@/store'
import registerIcon from '@/global/register-icon'

import 'normalize.css'
import '@/assets/css/index.less'

const app = createApp(App)
// 加工一下pinia，在挂载的时候也初始化了一些数据
app.use(initializeStore)
app.use(router)
// 通过自定义插件方式引入ui图标
app.use(registerIcon)
app.mount('#app')
